package com.javaee.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.javaee.dao.UserinfoMapper;
import com.javaee.pojo.Userinfo;
import com.javaee.service.UserinfoService;

@Service
public class UserinfoServiceImpl implements UserinfoService {

	@Autowired
	private UserinfoMapper mapper;

	@Override
	public Userinfo selectOne(Integer id) {
		Userinfo userinfo = new Userinfo();
		userinfo.setId(id);

		return mapper.selectOne(userinfo);
	}

}
